// pages/memo/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    mid:0
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    that.setData({
      mid: options.mid,
      memo:{}
    });
    that.selectMemo(that.data.mid);
  },
  selectMemo:function(options){
    wx.request({
      url: 'http://localhost:8080/TheTimeSequence/MemoServlet?opr=one',
      data:{mid:this.data.mid},
      success:(e)=>{
        let memo = e.data;
        this.setData({
          memo:memo
        })
      }
    })
  }
})